import json
with open("./test.txt",'r') as f:
#with open("./label_train.txt", 'r') as f:
    lines = f.readlines()
    for user_json in lines:
        user_dic = json.loads(user_json)
        #print(user_dic)
        print(user_dic[0]['img_name'],user_dic[0]['points'])
    pass